package com.myway.ibe.controller;

import com.fasterxml.jackson.databind.deser.Deserializers;
import com.myway.ibe.command.BaseIBECommand;
import com.myway.ibe.command.TestCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by Administrator on 2018/1/15.
 */
@Controller
public class TestController {

    @Autowired
    private TestCommand testCommand;

    @RequestMapping("/test")
    @ResponseBody
    public String test(){

        return testCommand.test();
    }
}
